<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
    <style>
        table{
            border: 1px solid palegoldenrod;
            border-collapse: collapse;
        }
        tr{
            
        }
        td,th{
            border: 1px solid palevioletred;
        }
    </style>
</head>
<body>
    <table>
        <thead>
            <tr>
                <th>序号</th>
                <th>姓名</th>
                <th>性别</th>
                <th>年龄</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>james001</td>
                <td>男</td>
                <td>01</td>
            </tr>
            <tr>
                <td>2</td>
                <td>james002</td>
                <td>男</td>
                <td>02</td>
            </tr>
            <tr>
                <td>3</td>
                <td>james003</td>
                <td>男</td>
                <td>03</td>
            </tr>
            <tr>
                <td>4</td>
                <td>james004</td>
                <td>男</td>
                <td>04</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td colspan="4">共4条数据</td>
            </tr>
        </tfoot>
    </table>
</body>
</html>